package com.game.framework.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.game.framework.dao.entity.ActivityFishBaitEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p> * 角色表 Mapper 接口 * </p>
 */
@Mapper
public interface ActivityFishBaitMapper extends BaseMapper<ActivityFishBaitEntity> {

    List<ActivityFishBaitEntity> selectListByActivityId(@Param("activityId") Long activityId);
    Integer updateById(ActivityFishBaitEntity entity);
    void deleteAllByActivityId(@Param("activityId") Long activityId);

    int selectCountByActivityId(@Param("activityId") Long activityId);
}